﻿@using Wicresoft.UnifyShow.Business;
@model Wicresoft.UnifyShow.Business.BusinessSystemModel
@{
    //WebGrid grid = new WebGrid((List<DeviceModel>)ViewData["Devices"], canPage: false, canSort: false);
}
@using (Html.BeginForm("", "", FormMethod.Post, new Dictionary<string, object>() { { "id", "bsEditForm" } }))
{
    <div class="index_pt_bg">
        <table>
            <tbody>
                <tr>
                    <td width="8%">
                        <label>业务系统ID：</label>
                    </td>
                    <td width="22%">
                        <input name="ID" type="text" id="bsID" value="@Model.ID" readonly="readonly" style=" width:200px;" />
                    </td>
                    <td width="8%">
                        <label>公司：</label>
                    </td>
                    <td width="22%">
                        <input name="SiteName" type="text" value="@ViewData["SiteName"]" readonly="readonly" style=" width:200px;" />
                        <input type="hidden" name="SiteID" id="bsSiteID" value="@Model.SiteID" />
                    </td>
                </tr>
                <tr>
                    <td width="8%">
                        <label>系统名称：</label>
                    </td>
                    <td width="22%">
                        <input name="Alias" id="Alias" type="text" value="@Model.Alias" style=" width:200px;" />
                    </td>
                    <td width="8%">
                        <label>系统分类：</label>
                    </td>
                    <td width="22%">
                       <input name="Category" id="Category" type="text" value="@Model.Category" readonly="readonly" style=" width:200px;" />
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <label>供应商信息：</label>
                    </td>
                    <td colspan="3">
                        @Html.TextArea("VendorInfo", Model.VendorInfo, new { cols = 66 })
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <label>资产信息：</label>
                    </td>
                    <td colspan="3">
                        @Html.TextArea("FncInfo", Model.FncInfo, new { cols = 66 })
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <label>运维信息：</label>
                    </td>
                    <td colspan="3">
                        @Html.TextArea("OpInfo", Model.OpInfo, new { cols = 66 })
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="search_bg">
            <input class="Button1 ui-icons" type="button" id="bsSave" value="保存修改" />
            @*<input class="Button1 ui-icons" type="button" id="bsPublish" value="发布配置" />*@
            <input class="Button1 ui-icons" type="button" id="bsDelete" value="删除该项" />
        </div>
    </div>
}